go/types.Named.methods (field)

14 uses

	go/types (current package)
		decl.go#L725: 		for i := 0; i < base.methods.Len(); i++ {
		decl.go#L726: 			m := base.methods.At(i, nil)
		decl.go#L753: 		for i := 0; i < base.methods.Len(); i++ {
		decl.go#L754: 			m := base.methods.At(i, nil)
		named.go#L27: 	methods *methodList
		named.go#L58: 		t.tparams, t.underlying, t.methods = t.resolver(ctxt, t)
		named.go#L66: 	typ := &Named{check: check, obj: obj, orig: orig, fromRHS: underlying, underlying: underlying, tparams: tparams, methods: methods}
		named.go#L132: func (t *Named) NumMethods() int { return t.resolve(nil).methods.Len() }
		named.go#L137: 	return t.methods.At(i, func() *Func {
		named.go#L220: 	if t.methods == nil {
		named.go#L221: 		t.methods = newMethodList(nil)
		named.go#L223: 	t.methods.Add(m)
		named.go#L331: 	i, _ := n.orig.methods.Lookup(pkg, name, foldCase)
		named.go#L403: 	return n.orig.tparams, underlying, newLazyMethodList(n.orig.methods.Len())